# -*- coding: utf-8 -*-
#
#  Copyright 2008  Luděk Cigler <luc@matfyz.cz>
#  $Id$
#
#  This file is part of SCSPSampler.
# 
#  SCSPSampler is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 3 of the License, or
#  (at your option) any later version.
# 
#  Hollo is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
# 
#  You should have received a copy of the GNU General Public License
#  along with this program. If not, see <http://www.gnu.org/licenses/>.
#

Import('env')

env.Program(target = 'scspsampler', source = Split('csp.cpp celar.cpp gibbs_sampler.cpp main.cpp ijgp.cpp ijgp_sampler.cpp utils.cpp optparse/optparse.cpp graph.cpp domain_interval.cpp interval_ijgp_sampler.cpp interval_ijgp.cpp'))

intel_sampler_node = env.Program(target = 'intel_sampler', source = Split('csp.cpp intel.cpp gibbs_sampler.cpp main_intel.cpp ijgp.cpp ijgp_sampler.cpp utils.cpp optparse/optparse.cpp graph.cpp domain_interval.cpp interval_ijgp_sampler.cpp interval_ijgp.cpp'))

wcsp_sampler_node = env.Program(target = 'wcspsampler', source = Split('csp.cpp wcsp.cpp gibbs_sampler.cpp main_wcsp.cpp ijgp.cpp ijgp_sampler.cpp utils.cpp optparse/optparse.cpp graph.cpp domain_interval.cpp interval_ijgp_sampler.cpp interval_ijgp.cpp'))

env.Default('scspsampler')
env.Alias("intel", intel_sampler_node)
env.Alias("wcsp", wcsp_sampler_node)
